package com.swgk.core.view.entity;

import java.io.Serializable;
import java.util.List;

/**
 * @author PC
 * checked                  0 未选中 1选中
 * customed               0 不是自定义，1 自定义
 * serverCustomed     0 允许自定义 1不允许自定义
 */
public class GoodsServicesEntity implements Serializable {

    private Integer serviceType;
    private List<TypeValue> value;

    public Integer getServiceType() {
        return serviceType;
    }

    public void setServiceType(Integer serviceType) {
        this.serviceType = serviceType;
    }

    public List<TypeValue> getValue() {
        return value;
    }

    public void setValue(List<TypeValue> value) {
        this.value = value;
    }

    public static class TypeValue implements Serializable {
        private Integer serverCustomed;
        private Integer serverId;
        private String serverName;
        private String isChange;
        private List<TypeValue.ItemValue> value;

        public String getIsChange() {
            return isChange;
        }

        public void setIsChange(String isChange) {
            this.isChange = isChange;
        }

        public Integer getServerCustomed() {
            return serverCustomed;
        }

        public void setServerCustomed(Integer serverCustomed) {
            this.serverCustomed = serverCustomed;
        }

        public Integer getServerId() {
            return serverId;
        }

        public void setServerId(Integer serverId) {
            this.serverId = serverId;
        }

        public String getServerName() {
            return serverName;
        }

        public void setServerName(String serverName) {
            this.serverName = serverName;
        }

        public List<TypeValue.ItemValue> getValue() {
            return value;
        }

        public void setValue(List<TypeValue.ItemValue> value) {
            this.value = value;
        }

        public static class ItemValue implements Serializable {
            private Integer attributeId;
            private String attributeName;
            private Integer checked;
            private Integer customed;
            private Integer id;
            private Integer serverId;
            private String serverName;
            private Integer deleted;
            private Integer sort;

            public Integer getDeleted() {
                return deleted;
            }

            public void setDeleted(Integer deleted) {
                this.deleted = deleted;
            }

            public Integer getAttributeId() {
                return attributeId;
            }

            public void setAttributeId(Integer attributeId) {
                this.attributeId = attributeId;
            }

            public String getAttributeName() {
                return attributeName;
            }

            public void setAttributeName(String attributeName) {
                this.attributeName = attributeName;
            }

            public Integer getChecked() {
                return checked;
            }

            public void setChecked(Integer checked) {
                this.checked = checked;
            }

            public Integer getCustomed() {
                return customed;
            }

            public void setCustomed(Integer customed) {
                this.customed = customed;
            }

            public Integer getId() {
                return id;
            }

            public void setId(Integer id) {
                this.id = id;
            }

            public Integer getServerId() {
                return serverId;
            }

            public void setServerId(Integer serverId) {
                this.serverId = serverId;
            }

            public String getServerName() {
                return serverName;
            }

            public void setServerName(String serverName) {
                this.serverName = serverName;
            }

            public Integer getSort() {
                return sort;
            }

            public void setSort(Integer sort) {
                this.sort = sort;
            }
        }
    }
}
